﻿<?xml version = "1.0"?>
<XML ID = "EQInterfaceDefinitionLanguage">
	<Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/>
<!-- Macro list -->
	<Listbox item = "MACRO_MacroList">
		<ScreenID>MacroList</ScreenID>
		<Font>4</Font>
		<DrawTemplate>WDT_EQLS_Def_Bordered</DrawTemplate>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>10</X>
			<Y>10</Y>
		</Location>
		<Size>
			<CX>480</CX>
			<CY>200</CY>
		</Size>
		<Style_Border>true</Style_Border>
		<Style_Transparent>false</Style_Transparent>
		<Style_VScroll>true</Style_VScroll>
		<Columns>
			<Width>50</Width>
			<Heading>ID:</Heading>
		</Columns>
		<Columns>
			<Width>150</Width>
			<Heading>Name:</Heading>
		</Columns>
		<Columns>
			<Width>3000</Width>
			<Heading>Macro:</Heading>
		</Columns>
	</Listbox>

<!-- Edit labels/boxes -->
	<Label item = "MACRO_IDLabel">
		<ScreenID>IDLabel</ScreenID>
		<Font>4</Font>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>20</X>
			<Y>220</Y>
		</Location>
		<Size>
			<CX>50</CX>
			<CY>35</CY>
		</Size>
		<Text>ID:</Text>
		<TextColor>
				<R>255</R>
				<G>218</G>
				<B>96</B>
		</TextColor>
		<NoWrap>true</NoWrap>
		<AlignCenter>false</AlignCenter>
		<AlignRight>false</AlignRight>
	</Label>
	<Editbox item = "MACRO_IDEdit">
		<ScreenID>IDEdit</ScreenID>
		<Font>4</Font>
		<DrawTemplate>WDT_EQLS_Def_Bordered</DrawTemplate>
		<Style_Border>true</Style_Border>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>80</X>
			<Y>220</Y>
		</Location>
		<Size>
			<CX>300</CX>
			<CY>35</CY>
		</Size>
		<TextColor>
				<R>255</R>
				<G>255</G>
				<B>255</B>
		</TextColor>
	</Editbox>
	<Label item = "MACRO_NameLabel">
		<ScreenID>NameLabel</ScreenID>
		<Font>4</Font>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>20</X>
			<Y>260</Y>
		</Location>
		<Size>
			<CX>50</CX>
			<CY>35</CY>
		</Size>
		<Text>Name:</Text>
		<TextColor>
				<R>255</R>
				<G>218</G>
				<B>96</B>
		</TextColor>
		<NoWrap>true</NoWrap>
		<AlignCenter>false</AlignCenter>
		<AlignRight>false</AlignRight>
	</Label>
	<Editbox item = "MACRO_NameEdit">
		<ScreenID>NameEdit</ScreenID>
		<Font>4</Font>
		<DrawTemplate>WDT_EQLS_Def_Bordered</DrawTemplate>
		<Style_Border>true</Style_Border>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>80</X>
			<Y>260</Y>
		</Location>
		<Size>
			<CX>300</CX>
			<CY>35</CY>
		</Size>
		<TextColor>
				<R>255</R>
				<G>255</G>
				<B>255</B>
		</TextColor>
	</Editbox>
	<Label item = "MACRO_MacroLabel">
		<ScreenID>MacroLabel</ScreenID>
		<Font>4</Font>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>20</X>
			<Y>300</Y>
		</Location>
		<Size>
			<CX>50</CX>
			<CY>35</CY>
		</Size>
		<Text>Macro:</Text>
		<TextColor>
				<R>255</R>
				<G>218</G>
				<B>96</B>
		</TextColor>
		<NoWrap>true</NoWrap>
		<AlignCenter>false</AlignCenter>
		<AlignRight>false</AlignRight>
	</Label>
	<Editbox item = "MACRO_MacroEdit">
		<ScreenID>MacroEdit</ScreenID>
		<Font>4</Font>
		<DrawTemplate>WDT_EQLS_Def_Bordered</DrawTemplate>
		<Style_Border>true</Style_Border>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>80</X>
			<Y>300</Y>
		</Location>
		<Size>
			<CX>300</CX>
			<CY>35</CY>
		</Size>
		<TextColor>
				<R>255</R>
				<G>255</G>
				<B>255</B>
		</TextColor>
	</Editbox>

<!-- Add macro Buttons -->
	<Button item = "MACRO_AddButton">
		<ScreenID>AddButton</ScreenID>
		<Font>4</Font>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>385</X>
			<Y>220</Y>
		</Location>
		<Size>
			<CX>115</CX>
			<CY>31</CY>
		</Size>
		<TooltipReference>Add this macro into the list</TooltipReference>
		<Style_Checkbox>false</Style_Checkbox>
		<Text>INSERT</Text>
		<TextColor>
				<R>255</R>
				<G>255</G>
				<B>255</B>
		</TextColor>
		<ButtonDrawTemplate>
			<Normal>A_EQLS_SmallBtnNormal</Normal>
			<Pressed>A_EQLS_SmallBtnPressed</Pressed>
			<Flyby>A_EQLS_SmallBtnHover</Flyby>
			<Disabled>A_EQLS_SmallBtnDisabled</Disabled>
			<PressedFlyby>A_EQLS_SmallBtnPressedHover</PressedFlyby>
		</ButtonDrawTemplate>
	</Button>

<!-- OK/Cancel Buttons -->
	<Button item = "MACRO_OKButton">
		<ScreenID>OKButton</ScreenID>
		<Font>4</Font>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>260</X>
			<Y>340</Y>
		</Location>
		<Size>
			<CX>115</CX>
			<CY>31</CY>
		</Size>
		<TooltipReference>Save the macros and close the editor</TooltipReference>
		<Style_Checkbox>false</Style_Checkbox>
		<Text>OK</Text>
		<TextColor>
				<R>255</R>
				<G>255</G>
				<B>255</B>
		</TextColor>
		<ButtonDrawTemplate>
			<Normal>A_EQLS_SmallBtnNormal</Normal>
			<Pressed>A_EQLS_SmallBtnPressed</Pressed>
			<Flyby>A_EQLS_SmallBtnHover</Flyby>
			<Disabled>A_EQLS_SmallBtnDisabled</Disabled>
			<PressedFlyby>A_EQLS_SmallBtnPressedHover</PressedFlyby>
		</ButtonDrawTemplate>
	</Button>
	<Button item = "MACRO_CancelButton">
		<ScreenID>CancelButton</ScreenID>
		<Font>4</Font>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>380</X>
			<Y>340</Y>
		</Location>
		<Size>
			<CX>115</CX>
			<CY>31</CY>
		</Size>
		<TooltipReference>Close the editor without saving the macros</TooltipReference>
		<Style_Checkbox>false</Style_Checkbox>
		<Text>CANCEL</Text>
		<TextColor>
				<R>255</R>
				<G>255</G>
				<B>255</B>
		</TextColor>
		<ButtonDrawTemplate>
			<Normal>A_EQLS_SmallBtnNormal</Normal>
			<Pressed>A_EQLS_SmallBtnPressed</Pressed>
			<Flyby>A_EQLS_SmallBtnHover</Flyby>
			<Disabled>A_EQLS_SmallBtnDisabled</Disabled>
			<PressedFlyby>A_EQLS_SmallBtnPressedHover</PressedFlyby>
		</ButtonDrawTemplate>
	</Button>
	<Button item = "MACRO_UseButton">
		<ScreenID>UseButton</ScreenID>
		<Font>4</Font>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>10</X>
			<Y>340</Y>
		</Location>
		<Size>
			<CX>115</CX>
			<CY>31</CY>
		</Size>
		<TooltipReference>Use this macro (insert into the chat input)</TooltipReference>
		<Style_Checkbox>false</Style_Checkbox>
		<Text>USE MACRO</Text>
		<TextColor>
				<R>255</R>
				<G>255</G>
				<B>255</B>
		</TextColor>
		<ButtonDrawTemplate>
			<Normal>A_EQLS_SmallBtnNormal</Normal>
			<Pressed>A_EQLS_SmallBtnPressed</Pressed>
			<Flyby>A_EQLS_SmallBtnHover</Flyby>
			<Disabled>A_EQLS_SmallBtnDisabled</Disabled>
			<PressedFlyby>A_EQLS_SmallBtnPressedHover</PressedFlyby>
		</ButtonDrawTemplate>
	</Button>
<!-- The actual dialog -->	
	<Screen item = "MACRO_Window">
		<ScreenID>Window</ScreenID>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>40</X>
			<Y>40</Y>
		</Location>
		<Size>
			<CX>540</CX>
			<CY>400</CY>
		</Size>
		<Text>Macro Editor</Text>
		<Style_VScroll>false</Style_VScroll>
		<Style_HScroll>false</Style_HScroll>
		<Style_Transparent>false</Style_Transparent>
		<!--<TooltipReference/>-->
		<DrawTemplate>WDT_EQLS_Def_Bordered</DrawTemplate>
		<Style_Titlebar>false</Style_Titlebar>
		<Style_Closebox>false</Style_Closebox>
		<Style_Minimizebox>false</Style_Minimizebox>
		<Style_Border>true</Style_Border>
		<Style_Sizable>false</Style_Sizable>
		<Pieces>MACRO_OKButton</Pieces>
		<Pieces>MACRO_CancelButton</Pieces>
		<Pieces>MACRO_MacroList</Pieces>
		<Pieces>MACRO_IDLabel</Pieces>
		<Pieces>MACRO_IDEdit</Pieces>
		<Pieces>MACRO_NameLabel</Pieces>
		<Pieces>MACRO_NameEdit</Pieces>
		<Pieces>MACRO_MacroLabel</Pieces>
		<Pieces>MACRO_MacroEdit</Pieces>
		<Pieces>MACRO_AddButton</Pieces>
		<Pieces>MACRO_UseButton</Pieces>
	</Screen>

<!-- Used to obscure the backing window and prevent UI events from going through to it -->
	<Screen item = "macrodialog">
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>0</X>
			<Y>0</Y>
		</Location>
		<Size>
			<CX>640</CX>
			<CY>480</CY>
		</Size>

		<Text></Text>
		<Style_VScroll>false</Style_VScroll>
		<Style_HScroll>false</Style_HScroll>
		<Style_Transparent>false</Style_Transparent>
		<!--<TooltipReference/>-->
		<DrawTemplate>WDT_Def</DrawTemplate>
		<Style_Titlebar>false</Style_Titlebar>
		<Style_Closebox>false</Style_Closebox>
		<Style_Minimizebox>false</Style_Minimizebox>
		<Style_Border>false</Style_Border>
		<Style_Sizable>false</Style_Sizable>
		<Pieces>MACRO_Window</Pieces>
	</Screen>
</XML>
<?xml version="1.0" encoding="utf-8" ?> 
